define(function (require, exports, module) {
	function init(){
		module.tablex = require("common");
		module.tablex.init({
			url:app + "/sys/shedlock",
			idField:"name",
			form:{
				title:"定时任务",
				fields:[
		                {name:"name",label: "任务ID",width:5,attr:{readonly:"readonly"},validate:{required:"required"},nl:true},
		                {name:"locked_at",label: "执行时间",width:5,attr:{readonly:"readonly"},validate:{required:"required"},nl:true},
		                {name:"label",label:"任务标识",width:5,validate:{required:"required"},nl:true}
				]},
			events:{ }
		});
		module.tablex.doQuery();
	}
	exports.init = init;
});
